<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Caffe: caffe::Caffe Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Caffe
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecaffe.html">caffe</a></li><li class="navelem"><a class="el" href="classcaffe_1_1Caffe.html">Caffe</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classcaffe_1_1Caffe-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">caffe::Caffe Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcaffe_1_1Caffe_1_1RNG.html">RNG</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:af8f607248c1f212be1f6f1c988d80e4e"><td class="memItemLeft" align="right" valign="top"><a id="af8f607248c1f212be1f6f1c988d80e4e"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Brew</b> { <b>CPU</b>, 
<b>GPU</b>
 }</td></tr>
<tr class="separator:af8f607248c1f212be1f6f1c988d80e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a169632a1735728f6bdaacbbe77b81804"><td class="memItemLeft" align="right" valign="top"><a id="a169632a1735728f6bdaacbbe77b81804"></a>
static <a class="el" href="classcaffe_1_1Caffe.html">Caffe</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>Get</b> ()</td></tr>
<tr class="separator:a169632a1735728f6bdaacbbe77b81804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff31f4285d99f4254e2af4e40678bf5e"><td class="memItemLeft" align="right" valign="top"><a id="aff31f4285d99f4254e2af4e40678bf5e"></a>
static <a class="el" href="classcaffe_1_1Caffe_1_1RNG.html">RNG</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>rng_stream</b> ()</td></tr>
<tr class="separator:aff31f4285d99f4254e2af4e40678bf5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbba8bb2af70b628eca89269b81c915f"><td class="memItemLeft" align="right" valign="top"><a id="afbba8bb2af70b628eca89269b81c915f"></a>
static cublasHandle_t&#160;</td><td class="memItemRight" valign="bottom"><b>cublas_handle</b> ()</td></tr>
<tr class="separator:afbba8bb2af70b628eca89269b81c915f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a659f92f48f20d95c46c6629574a26c0f"><td class="memItemLeft" align="right" valign="top"><a id="a659f92f48f20d95c46c6629574a26c0f"></a>
static curandGenerator_t&#160;</td><td class="memItemRight" valign="bottom"><b>curand_generator</b> ()</td></tr>
<tr class="separator:a659f92f48f20d95c46c6629574a26c0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa45214769b727ecd971e0d5ed8ffe96a"><td class="memItemLeft" align="right" valign="top"><a id="aa45214769b727ecd971e0d5ed8ffe96a"></a>
static Brew&#160;</td><td class="memItemRight" valign="bottom"><b>mode</b> ()</td></tr>
<tr class="separator:aa45214769b727ecd971e0d5ed8ffe96a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a025008ff5854ba15e62138c81b7a140d"><td class="memItemLeft" align="right" valign="top"><a id="a025008ff5854ba15e62138c81b7a140d"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>set_mode</b> (Brew mode)</td></tr>
<tr class="separator:a025008ff5854ba15e62138c81b7a140d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6f560b0f9f73a596284908ee44ecc7"><td class="memItemLeft" align="right" valign="top"><a id="a1f6f560b0f9f73a596284908ee44ecc7"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>set_random_seed</b> (const unsigned int seed)</td></tr>
<tr class="separator:a1f6f560b0f9f73a596284908ee44ecc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac95c04832bf528acb3ae8f1ffa5b6c11"><td class="memItemLeft" align="right" valign="top"><a id="ac95c04832bf528acb3ae8f1ffa5b6c11"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>SetDevice</b> (const int device_id)</td></tr>
<tr class="separator:ac95c04832bf528acb3ae8f1ffa5b6c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4af30f25dc929f2b9c1f195e1683a411"><td class="memItemLeft" align="right" valign="top"><a id="a4af30f25dc929f2b9c1f195e1683a411"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>DeviceQuery</b> ()</td></tr>
<tr class="separator:a4af30f25dc929f2b9c1f195e1683a411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae910c49602d48889673dd614d2aea014"><td class="memItemLeft" align="right" valign="top"><a id="ae910c49602d48889673dd614d2aea014"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>CheckDevice</b> (const int device_id)</td></tr>
<tr class="separator:ae910c49602d48889673dd614d2aea014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ef45036fc831ca416fd1695fc749ea3"><td class="memItemLeft" align="right" valign="top"><a id="a7ef45036fc831ca416fd1695fc749ea3"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>FindDevice</b> (const int start_id=0)</td></tr>
<tr class="separator:a7ef45036fc831ca416fd1695fc749ea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e125ae1d6bfa3618fa4d0418d97468"><td class="memItemLeft" align="right" valign="top"><a id="a69e125ae1d6bfa3618fa4d0418d97468"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>solver_count</b> ()</td></tr>
<tr class="separator:a69e125ae1d6bfa3618fa4d0418d97468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66753e0dd783b50bbc61c40c89a43f3"><td class="memItemLeft" align="right" valign="top"><a id="ae66753e0dd783b50bbc61c40c89a43f3"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>set_solver_count</b> (int val)</td></tr>
<tr class="separator:ae66753e0dd783b50bbc61c40c89a43f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdd6522457e7ac94463d26408620f4c9"><td class="memItemLeft" align="right" valign="top"><a id="abdd6522457e7ac94463d26408620f4c9"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>solver_rank</b> ()</td></tr>
<tr class="separator:abdd6522457e7ac94463d26408620f4c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ec5a171e837fc106e7d1987e3c9a45d"><td class="memItemLeft" align="right" valign="top"><a id="a2ec5a171e837fc106e7d1987e3c9a45d"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>set_solver_rank</b> (int val)</td></tr>
<tr class="separator:a2ec5a171e837fc106e7d1987e3c9a45d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a181e979bf7f7f2fe4a6c5fbbc4d703ac"><td class="memItemLeft" align="right" valign="top"><a id="a181e979bf7f7f2fe4a6c5fbbc4d703ac"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>multiprocess</b> ()</td></tr>
<tr class="separator:a181e979bf7f7f2fe4a6c5fbbc4d703ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea8888baaabfc41014eba175a2538b7b"><td class="memItemLeft" align="right" valign="top"><a id="aea8888baaabfc41014eba175a2538b7b"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>set_multiprocess</b> (bool val)</td></tr>
<tr class="separator:aea8888baaabfc41014eba175a2538b7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87775a1589a6e1b6e53d9bdbb013b8d8"><td class="memItemLeft" align="right" valign="top"><a id="a87775a1589a6e1b6e53d9bdbb013b8d8"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>root_solver</b> ()</td></tr>
<tr class="separator:a87775a1589a6e1b6e53d9bdbb013b8d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a5fb5298203759722a061644b508ddaeb"><td class="memItemLeft" align="right" valign="top"><a id="a5fb5298203759722a061644b508ddaeb"></a>
cublasHandle_t&#160;</td><td class="memItemRight" valign="bottom"><b>cublas_handle_</b></td></tr>
<tr class="separator:a5fb5298203759722a061644b508ddaeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d920ccea7282d5d88335847c0e9ca9e"><td class="memItemLeft" align="right" valign="top"><a id="a0d920ccea7282d5d88335847c0e9ca9e"></a>
curandGenerator_t&#160;</td><td class="memItemRight" valign="bottom"><b>curand_generator_</b></td></tr>
<tr class="separator:a0d920ccea7282d5d88335847c0e9ca9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c1d6159f6add0ae470af9a09836d979"><td class="memItemLeft" align="right" valign="top"><a id="a0c1d6159f6add0ae470af9a09836d979"></a>
shared_ptr&lt; <a class="el" href="classcaffe_1_1Caffe_1_1RNG.html">RNG</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>random_generator_</b></td></tr>
<tr class="separator:a0c1d6159f6add0ae470af9a09836d979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef998c6b69827060630e21a8ccf8884e"><td class="memItemLeft" align="right" valign="top"><a id="aef998c6b69827060630e21a8ccf8884e"></a>
Brew&#160;</td><td class="memItemRight" valign="bottom"><b>mode_</b></td></tr>
<tr class="separator:aef998c6b69827060630e21a8ccf8884e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc26b38d30812df267645c4a94135a74"><td class="memItemLeft" align="right" valign="top"><a id="afc26b38d30812df267645c4a94135a74"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>solver_count_</b></td></tr>
<tr class="separator:afc26b38d30812df267645c4a94135a74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00152204105cd59b691d8bda828664b5"><td class="memItemLeft" align="right" valign="top"><a id="a00152204105cd59b691d8bda828664b5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>solver_rank_</b></td></tr>
<tr class="separator:a00152204105cd59b691d8bda828664b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25bdfb72baf0bfc5fca31579b08d2b6f"><td class="memItemLeft" align="right" valign="top"><a id="a25bdfb72baf0bfc5fca31579b08d2b6f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>multiprocess_</b></td></tr>
<tr class="separator:a25bdfb72baf0bfc5fca31579b08d2b6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/caffe/<a class="el" href="common_8hpp_source.html">common.hpp</a></li>
<li>src/caffe/common.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Aug 3 2017 23:11:22 for Caffe by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
